Fixed (?) physics engine
Added srandom()
Increased default population size to 1000
added rand_step() with repaired calculation