mfcc cosine distance for deciding type