Better output of gradient descent results