Update compute_N_leached.c

initialize nleached before use