python implementation of online statistics