Recognizing Handwritten Digits Using Mixtures of Linear Models