Hardware Implementation of New Analog Memory for Neural Networks