Stopped caching mean as a member var.

Too much trouble to reset it to null every time a vector is modified.