Added reward functions and trajectory generators. Updated Trajectory to implement copy constructor correctly.