Changed mutation, fixed problems with terminate. the program runs,
produces mediocre approximations, unless tan and cos are allowed, then
they are pretty good :)