Further edits to binDensity.py