Fixed bug in aggregation of rc across canopy layers.