Implement derived trajpts

Not all methods are fully implemented, but it should be a start. Should also mostly address issue #4.
No, just a late-night mistake in merging.