Merge branch 'release-1.0'
Fix a bug caused by lack of parameter state initialization (issue #2)
Merge branch 'hotfix-for-issue-2' into release-1.0