Generate the MAP estimate of "theta" in following Gaussian-NIG structure:
beta,sigma^2|gamma ~ NIG(gamma)
x|beta,sigma^2,X ~ Gaussian(X
where gamma = (m,V,a,b) is the Normal-Inverse-Gamma(NIG) parameter, "m" is a numeric "location" parameter; "V" is a symmetric positive definite matrix representing the "scale" parameters; "a" and "b" are the "shape" and "rate" parameter of the Inverse Gamma distribution.
The model structure and prior parameters are stored in a "GaussianNIG" object.
MAP is beta,sigma^2_MAP = argmax_beta,sigma^2 p(beta,sigma^2|gamma,x,X).