extract_samples function

Extract all samples from a stan fit