add cross product, dot product and view