Custom HMC for spline covariance. Has log posterior and gradient.