Worked on Brainweaver. Improved TestFunctionParser