Adding functionality to use the new BedpostXData structure via the samplemanager