A Contour Based Automatic Method to Classify Local Field Potentials Recorded from Rat Barrel Cortex