An optical digit recognition application, written in MATLAB