Fixed bugs.
Compute velocities all at once or by components.
Give a seed for random seed.