Fixed minor typo in CalcZcurves