gp_predictive function not tested