Tactile Discrimination Using Template Classifiers: Towards a Model of Feature Extraction in Mammalian Vibrissal Systems