Other (failed) minibatch try
Better precision for the double case...
Improved numerical stability (using -log(cosh(x)) instead of -0.5*log(1-tanh(x)^2)...
Packed phi computation and means_logp computation together.