Added fit_elastic method to hRIXS class that allows one to automatically fit the images in each run
added elastic line fitting.
Made the centroid algorithm selection a class attribute, and also made the "manual threshold" default
added elastic line fitting.
Made the centroid algorithm selection a class attribute, and also made the "manual threshold" default