kdTree fix. fixed wrong total_frame num error + incorrect FFT file read