Added two subroutines in MODULE_CANOPY