Hi,
If I read the documentation correctly the N-parameter serves as a low pass filter for the derivative term. My routine does not have that option.
I have ZERO experience with Simulink but looking at this page it seems you can turn "Filtered derivative" off.

Not sure that helps a whole alot but that's what I've got at the moment :-)

/Henrik.