finishing up version 2

switching data sets now works
andmask added if needed for XES and RIXS