Predicting Coastal Hazards with a Bayesian Network