Added calibration code

Changed lowpass interface