Added static methods for cross product and dot product