Calculates the scalar quadruple product of four vectors.