initial implementation of vector math