added plotting functions, new stan attempts