Changes to SQPMethod