Implemented spline interpolation for free energy values, corrected the bug that gave CEA-TEA difference