Gravar-mail: Simulation of Inference Accuracy Using Realistic RRAM Devices