PHYSICAL MODELING OF FILAMENT GROWTH AND RESISTIVE SWITCHING IN METAL OXIDE-BASED RRAM