Bugfix: use correct types in YAML parser.

Now "gridStep: 0.5" is allowed in the YAML input file.
Merge pull request #85 from aipp/bugfix

Bugfix: use correct types in YAML parser.