Rotation of a molecule along an axis