bugfix in stringdistmatrix/usebytes. added tests