Design method of analog neural networks for pre-processing in measurement sensors