A Distance-Based Branch and Bound Feature Selection Algorithm