Made the following changes:
Added a feature to save the rotation curve data to a file for further analysis.
Also removed the earlier constraint that the first click for range selection should
be on the left and the second on the right.