Header files with mathematical template functions and classes (C++11)