just skip if failed to fit during find best fit range
plot_files now can plot fit results if in a file as a comment
limit printed digits on quality
main now supports fitting and adding fit results to the emass file