x-axis rotation matrix
rotx4(vec)
vec
Length of vector cannot be zero.
Matrix for rotation
Jonathan M. Lees<jonathan.lees@unc.edu>
roty4
v = c(12,13,-4) rotx4(v)