Fixed bug in rotationmatrix_normalized function.  (q parameters were switched)
Fixed bug in rotationmatrix_normalized function (q parameters were switched).