adding support for lambda functions and tests for numpy and math functions