Dot Product Formula For 3d Vectors