Real-time programmable metasurface for terahertz multifunctional wave front engineering | Synapse