A Study on the Influence of Shape in Classifying Small Spectral Data Sets