Add cross product function.