Application of hidden Markov models for signature verification