Notation change, added noise to test.

Changed variable name to z_mean, and cleaned up parens
and such.