My simple implementation of sampling from a gaussian process