Fix null bug.

Incrementing just the size isn't enough. The mean has to be updated.
add version tag
0.1.8