Modulo-addition operation enables terahertz programmable metasurface for high-resolution two-dimensional beam steering | Synapse