cleaning up unused variables
adding tests and some cleanup to rml traj generator