added calibration test m-bilgic code