A High Resolution Nonvolatile Analog Memory Ionic Devices