IVCurve, matplotlibexporter: moved matplotlibexporter code to util directory. Tests indicate it works.