Thermally activated non-linearity of device in resistance-switching memory for cross-point array applications