ndrat derivative term implemented