Analysis of multilevel capability of a filamentary resistive memory cell