ENH: Use map() for calculating each site map in trans matrix
Using list(map())
is slightly more efficient than appending to the TM each iteration.
This MR adds a helper function which calculates the site mappings for each atom
in the template, and then maps over the entire template. Avoids unnecessary .append()
calls.
Edited by Alexander Tygesen