add c++14 constexpr spectrum and wave genarator algorithms