Hi,
I have not checked the calculation but these numbers that you have:
Rcomp = 40mOhm
Ccomp = 857uf
Cc2 = 50uf
Are off by 10E6
Rcomp = 40k

Ccomp = 820pF
and Cc2 = 50pF
are more typical values.
I suggest you try and calculate the values for the demo board application. You should get pretty close.
Jay_Diddy_B