Simplified some code in the calc Raman shift button.