Added functions for plotting the closed form and source term.

ClosedForm.py can now be used more easily via a shell.
Added *.pyc to gitignore.
Trying to work out error in algorithm.