fixed some minor issues in the feature recognition
added code to merge interesting points together
needs some more things to be ready