created dot and cross product operations for coordinate vectors(matrices)