Change cross product to inner/dot/scalar