Fixed DSelect O(n) algorithm, still need debugging