Modelling Pattern Recognition in Cricket Phonotaxis