Seven-parameter solution source code based on VC (least squares method)