Trajectory: fix constness of getter methods
Merge pull request #185 from RainCT/traj-constness

Trajectory: fix constness of getter methods