Removed unnecessary Double boxing when two doubles are compared in PivotDistance.compareTo
Fix cluster creation due wrong index on level 0

This was causing not to find objects even they were part of original set
used for cluster tree creation