updated transform_coordinate_matrices to take more than two input matrices

the 2nd through nth coordinate matrices will be compared against the first coordinate matrix. 

note that output file names have been changed for clarity with this pull request. this isn't included in any workflows, so there shouldn't need to be changes elsewhere in the code.