Added simple math parsing.