Replacing float log2 with ilog2 calls in winner_tree.
Fixing conversion warnings in winner_tree.