Updated Hist.py to handle coordinate system properly. Fixed divide by zero error.