Added some display code in display.py
Added a weighting for the intra-image-edges