3D Integration of Resistive Switching Memory