fixed critical bug in pid_1d. Added constraint for i-Term. Scaled error in i-Term according to dt.
Merge pull request #3 from mlosch/master

fixed critical bug in pid_1d. Added constraint for i-Term. Scaled error in i-Term according to dt.