Removing inefficiency from SNoptSolver