Removed Velocity class and added its properties to the Motion class.
Created rotateBearing method with explanation comment.