Changed some variable types to auto
Updated kdtree readme