The masses of the Milky Way and Andromeda galaxies | Synapse