Text this: A Novel Hybrid Bacteria-chemotaxis Spiral-dynamic Algorithm with Application to Modelling of Flexible Systems