Changed name for local variable veget_cov_max into veget_max to correspond to the variable coming from stomate, ticket #505