Compute angular speed at which motors should move.