Add parser for function with parameters
Add substitute methods to replace symbols by actual values or functions