The Smith normal form of distance matrices of high dimensional trees | Synapse