Cleaned up main.cpp
Output trial parameters in files
Autodetected rangeOfObservables