Reflection extraction from sonic log waveforms using Karhunen-Loeve transform