Changed the Gibbs mex to output mid-results

Converted the Gibbs sampler to mex and set it to output stego image and
vector of lambdas after each sweep.