grainSimilarity_align function

Grain Type similarity matrix for DTW alignments