Changed MBody_userdef to match the new structure of things. On the way I found some bugs that I have removed.
The example now only fails on the absence of initialiseSparseArrays and initializeSpareAraysPost. I leave this to Esin for now.