resample can return samples
TODO updated
Merge branch 'diagnostics' into samplers
Nice resample, with thinning and recording
Updated testss