Contribution from Doug Hilton. Complete rewrite of data processing from lidar including crc error checking.