vSSG = ssg(vAngles) vAngles = [fThetaSig, fThetaGate, fPhiSig, fPhiGate]; angles in rad the kI = kP - kS is assumed to minimize phase mismatch