Rotates vector by a rotation.