resid.show("residual");
latentpHi.transpose().show("Latent pH");
obspH.transpose().show("Observed pH");
obspH_hat.transpose().show("Predicted pH");
sigmaCalib.show("sigmaCalib");
likeval.show("likeval","0.00E00");
LIKE.replicate(DblMatrix.INF,LIKE.Size);
//System.out.println("Zero in pH likelihood calc.");
return(LIKE);
}