Pattern Recognition with Neural Networks in C++