Edited the main.py and isolated intensity parser. Also worked on some regex stuff so xas parsing is more accurate. those changes are in main. They are not done yet