Working 3D plot. Saves a movies if requested by command-line.
Now also have the option to automatically save a movie.