Shallow Geophysical Mass Flows down Arbitrary Topography