Gaussian Process Implementation Python W3schools Exercise