Gravar-mail: Memristor Neural Network Training with Clock Synchronous Neuromorphic System