fixed MRTC-select in all its incarnations

The fix prevents the float array from being accessed beyond its last element.
(The code in the book where this comes from assumes an array [1..n].) The
algorithm remains broken though, thus there is no actual check correctness
returned.