Modeling rapid mass movements using the shallow water equations