test.m rotation matrices and trajectory modifications.