Implement Vector interfaces

This implements Java's comparable. Take a look at the flow/flow-math implementation (it can be found in the target generated source).