Implement derived trajpts

Not all methods are fully implemented, but it should be a start. Should also mostly address issue #4.
Did you mean to do this as well?  Perhaps you need to rebase/pull?