Accurate Beam Training for RIS-Assisted Wideband Terahertz Communication | Synapse