Implemented an edgeimage class

Implemented a class to store edge-image data, including the edge-angles.
Made templatedetection and hough use it as well.