Changed some comments and removed some old lines in edgefilter.py