ERC - TeraSHAPE - Terahertz Waveform Synthesis and Analysis Using Hybrid Photonic-Electronic Circuits