Dot Product In 3 Dimensions