getMatchAlignments function

Gets temporal alignments of matches on a given layer