Fixes to make the brain-damaged GCC 4.9.0 compiler happy.
std::erf is a C++11 function.
Merge pull request #96 from richford/master

Fixed inner_ext_node_recursive() to work with functions that lack functors