Compute SNR of a certain change point location
snr(order, gamma, is.jump, jump, diffb, addb)
value of SNR
order of derivative of data
bandwidth of Gaussian kernel
logical value indicating if the location to be calculated is a jump point
jump height
difference of the slopes on left and right sides of the location
sum of the slopes, only used when order is 1