fixed bug #4
Merge pull request #6 from mlosch/master

fixed bug #4 (pid, d-term)