Fixed issue with soft and hard limit
Added different variables for soft and hard limit.
Resolved merge conflict.
Added variables.
Merge pull request #6 from fintanmm/master

Fixed issue with limits.