Fixed calcualtion of theta. Need to fix real Q range reported in main GUI.