Reference value of buffer ccan now set by parameter K, L, M for more precise calibration