codea function which takes in entry X and theta
Xthe matrix of the forced variables
varthe variance for the covariance function
psithe scale vector of correlation length
nnumber of experiments
Kernel.typethe chosen form of covariance
Covthe covariance