fixed import of weka.plot: now comes before check whether matplotlib is present