A Polynomial Time Incremental Algorithm forLearning