Added curve.model to SGAT.R and removed Curve.R