Metal Oxide Resistive Memory Modeling with Physical Current Equation