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