Updated basis.

Mainly changes in statistics gathering.