added comment

density input variable is re-assigned to max_density in the model code