A Matlab-based program for computation of local hydrological corrections