Update of analyzeSGP to allow passing of intermim baseline matrices for SGP calculation