Neural networks for A/D converters