Debugging MidpointVariational - Problems passing member function to constructor of discrete_lagrangian