ctExtract function

Extract samples from a ctStanFit object