Some changes according to  the changes in sparse_GP