function hess = Hessg(x,H,c)
% Hessg evaluates the Hessian of function g at x given the data
%
% INPUT: x (Single point where function should be evaluated given as a 
%           column vector).
%        H (Symmetric positive definite matrix).
%        c (Column vector).
%        
%
% OUTPUT: hess (Hessian of g evaluated at x).
%
%

hess = H+diag(c.*x.^2);

end

