Version up, plug memory leak, use int * matrix [2].

Version to 0.12, plug memory leak, use int * matrix[2] in
edit-distance.c.tmpl rather than allocating.