Research on a handwritten character recognition algorithm based on an extended nonlinear kernel residual network