minor change in feature distance calc