improved bars.py, grped_distr.py; added pmf.py