calc_waterretention function

Calculate indicators for water retention in topsoil