@vincentchabannes, @Trophime:
fixes issue #85 
fixes issue #77
revert back to working version + added M_mesh data member + mesh() member function