Fit a set of 3D points to a cylinder surface. Usage example: from cylinder_fitting import fit w_fit, C_fit, r_fit, fit_err = fit(data) For a detailed example, see the unit test.