How To Calculate Triple Scalar Product