Simple IRA Company Match when employee is over 50 and close to the limit

SUGGESTED

I have an employee that is over 50 and I do have the catchup marked yes.  She has contributed 15,400 during this payroll and the employer match didn't calculate.  I use the standard formula for the simple IRA.  We have had trouble with this on other employees.  This is the formula that it is showing for the company match.  Do I need to change something in the formula?  I don't understand what the CLimit value is as this says 14,500.  

"PERCENT formula created by Sage 50 Accounting."
LIMIT=16000.; "SIMPLELimit value from Taxinfo.dat"
CLIMIT=14500.00; "SIMPLECLimit value from Taxinfo.dat"
L=IF(EMP_SIMPLE_CATCHUP,CLIMIT,LIMIT);

B=100.00; "Company contribution %"
C=3.00; "% of employee contribution"
D=100.00; "Company maximum contribution %"
Z=EMP_SIMPLE_NUMBER%;

E=-YTD(SIMPLE)+SIMPLE;
F=IF(Z>(C%),B%*C%*ADJUSTED_GROSS,B%*Z*ADJUSTED_GROSS);
H=D%*ADJUSTED_GROSS;
J=IF(H=0,F,IF(H<F,H,F));
K=E+J;
ANSWER=-IF(E>L,0,IF(K<L,J,L-E))