Calculates the cross product of two vectors.