compute_vertical_inflow function

Determine if precipitation is rain or snow and simulate the snowpack (accumulation and melt) to compute the vertical inflow (vi), the liquid water available per day (rainfall + melt water).