Fix number conversion warnings
Remove benchmark code from KPTreeController