Character Recognition Using the Mahalanobis Distance