fix many problems with ExtractOpenRAVETrajectoryFromProfiles, now outputs openrave trajectories