sped up the calibration a bit. also added removal of erroneous points. this happens when the scan line is too thick.