more cleanup of snopt calls.  still segfaulting