Computation of displacement and spin gravitational memory in numerical relativity | Synapse