Cleaned up code; added comments. Removed methods associated with failed attempts at solving for alpha in the innermost Newton iteration (when using maximally dissipative sliding directions).