fixed bug in plot.X and plot.hat (diffusions were not plotted in some cases