Fixes #14. Added contour plotting function.