Added fitEdge function to ImageClass.  Still needs some work, namely exception case for vertical lines.