added stroke length feature analysis; fixed stroke length feature bug