Added stuff for automatic MWPC calibration - to be tested by A.Mushkarenkov