Bundle Methods in C++