TAR based features in unconstrained handwritten digit recognition