Added test harness for kernel derivatives, and fixed one derivative in changepoint kernel