Implement vec_basic and related functions

In particular: eq, compare and printing
Implement Derivative operator