Adds mathematical function definition