Changes made by Andreas and Daniil merged into a new version.

Output extended, two-stream instability implemented.