Bugfix for mode_check and display of parameters out of bounds

Also adds more information for non-positive definite Hessian