replaced binscontour.py (caz Ryan deleted it by accident)