new routines to fit the measured data to a best fit cylinder