A Methodology to Improve Linearity of Analog RRAM for Neuromorphic Computing | Synapse