Adaptive spectral clustering with application to tripeptide conformation analysis