properties of cross product and dot product