fixed bug in compareMassCenters which caused the jittering in recognition
Partial commit only (I'm in the middle of adding more bars to control the
amount of erode and dilation)
Added more bars for dilate and erode
Fixed the nearest contour bug
Merge branch 'master' of https://github.com/ofir123/Lightsaber