First version. Gives the angular velocity.