changed way pixels are converted to motor steps. also calibration settings are saved to ini file. Needs testing