Improved waveform reconstruction and parameter accuracy retrieval for hyperspectral lidar data