Numerical Methods for Studying Self-similar Propagation of Viscous Gravity Currents