Module to calculate vegetation types