New technology predicts cliff erosion