add cosine distance for multi-feature calculations
add spectral centroid
other small tweaks