minor changes in plot function of distributions