Numerically stable algorithms for the computation of reduced unit cells | Synapse