Distance metrics and band selection in hyperspectral processing with applications to material identification and spectral libraries | Synapse