fixed up dK_dX in the exponential and Matern kerns
general changes to bebugging code