Catch exceptions caused by parsing invalid double values (fixes #706).
Merge pull request #712 from openscad/number-fix

Catch exceptions caused by parsing invalid double values (fixes #706).