Make ``thin`` work for yeilded values in ``Ensemble.sample()``

In response to Issue#104