Adapt cavity detuning calculation for phase in degrees
The cavity detuning functions were not updated when the phase representation was changed from radians to degrees
Edited by Andreas Persson
The cavity detuning functions were not updated when the phase representation was changed from radians to degrees