postSamples function

Extract posterior samples from an object