Safe and cost effective drilling using predictive models of the sub-surface