Created SGP-class.R