Add a version check for optional matplotlib dependency.

Fixes Issue #98. 
exception when mpl isn't installed at all.