Yeah its there, nine lines down. but im still getting math errors and its definately on the line:
x_coeff = (exp(x[0]*2*pi)-cosh(x[0]*x[1]*Actual_Output[0]))/sinh(x[0]*x[1]*Actual_Output[0]);
however i got it to print each bit to screen and it does have each variable so i am a little confused