A three dimensional numerical method for landslide runout analysis