Intelligent Measurement for Quality Testing of a.c. Motors