1. Integrated all functions into one.
2. accelerate_flow() placed after collision. Decelerated after timing.