Fix initialization random generator
Switch symbol recognition to NN