Extend warnings. Fix warnings. Introduce check for numeric overflow.
Fix *_COEF_VAL definitions.
Merge pull request #47 from wuschel91/master

Fix numeric overflow.