make faster of stanfit@extract

code from R. Boylan