How Is Dot Product Calculated