migrating Algorithms directory to C++11
reintroduce pesky cmath include