Function to perform a forest inventory based on a segmented las object (needs to contain TreeID)
Useful links