A CMOS analog Neuro-chip with stochastic learning and multilevel weight storage