Dynamic programming algorithm optimization for spoken word recognition | Synapse