Solved Minimum Scalar Product