Removed unused and wrong dot product function (correct dot product is x1*x2+y1*y2)
Fix: The speed change from a flap shouldn't depend on physics time step size
Let's make some use of the dist function if it's there already
Fix inconsistent physics rate