C++ library for Dynamic Movement Primitives and Black-Box Optimization