Improving endurance and reliability by optimizing the alternating voltage in Pt/ZnO/TiN RRAM | Synapse