Implemented the feather distance