Rapid Prediction Of Tsunamis And Storm Surges Using Machine Learning