Updated validation code to include goals reached and condition number.