made pylab an optional import and removed some unused imports
Merge pull request #3 from naylor-b/rmpylab

made pylab an optional import and removed some unused imports