moved temporal pooling statistics into a new class