Hopfield Net now working