Fixed a bug in the exit condition of run_relax.m. Cleaned up run_relax.m, and introduced minor editorial changes to the rest.
Fixed bug in optimality_fctn.m using 'quadprog' for Matlab R2012b or older.