Implemented cross product.