detuned reactor calculation