Adds comp2type.py for comparing spectrum to mean of type