Some fixes for GP regression

To solve https://github.com/shogun-toolbox/shogun-demo/issues/54