Trying to make pyquante2 run without installed matplotlib

Have to put the graphical imports inside a try block