Implemented test for distance calculation.
Implemented test for dot product.
Implemented cross product tests and fixed several bugs in the crossLocal
method.