Review of Matlab interface for gradients and Hessians as requested by Mike.  Replaced += with = since we don't need to update/overlay in this situation.  Mike's commit made this correct, but = is clearer.  Note that set_local_data initializes all response data to 0, but we're not relying on that any longer.
Review of Matlab interface for gradients and Hessians as requested by Mike.  Replaced += with = since we don't need to update/overlay in this situation.  Mike's commit made this correct, but = is clearer.  Note that set_local_data initializes all response data to 0, but we're not relying on that any longer.

A trick here is that Matlab stores data colum-major.

Tested on rosenbrock with analytic Hessian.

The python interface looks okay (reviewed).



git-svn-id: c6750f7dd89925e309f580f56430152d063ff36c@558 aa0779c3-6ec2-4b84-a212-a405c134cd8d

pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA,pemryan/DAKOTA