https://medium.com/@monocosmo77/working-with-cubic-regularization-part1-machine-learning-optimization-3de4e0abca3e