Beware the undulation : failure mode prediction and rock mass classification in rock mechanics using deep neural networks and synthetic rock mass models