Combining Unsupervised Clustering with a Non-Linear Deformation Model for Efficient Petroglyph Recognition