Add soft limits to the Parameter class

This should fix #26.

*Note*: the changes require either PR #31 to be merged or supersede the PR.