fixed vc12 debug compiling
added calibration helper
minor fix