Kd tree comments added