Handwritten Digits Recognition Using Statistical Methods