Use the optset object set method to set properties.
Removed use of inputParser builtin class.
Merge pull request #26 from ehkropf/issues/#14

Fixes #14