Analog implementation of the Soft-Max function