Temporal pooling fixes and examples added