evaporation code in matlab works correctly