Generating animations

- Because of a bug in matplotlib and python 3 the animations
are generated using python 2. Hence some modifications.
- Some sementical changes (block -> session etc.)