most jmotif implementation ported to python