Bugs fixed.  Remaining bug: I think that the logEigenvalues_hat never updates.