fixed bugs in numberparsing and added missing exp and expm1 functions