mpltools as an optional package