Added neural networks, still some bugs to work out