[SOFA] Returns the rotation matrix corresponding to rotation vector
w, which must have 3 elements in its first dimension.
The rotation matrix Euler axis gets the direction of
and the rotation matrix gets a rotation angle equal to the modulus of
w. The result has the same dimensions as
but with one extra dimension equal to 3 prefixed.