Algorithm for beam deformation modeling from LiDAR data. (December 2015)