Musical Similarity and Composition