Implement derived trajpts

Not all methods are fully implemented, but it should be a start. Should also mostly address issue #4.
(same as above)