Corrected Morse in a box calculation.