Fixed bugs, network now learns properly, however won't compile on gcc
GCC compilation fix
Merge branch 'develop' into feature/AdvancedNetwork

Conflicts:
	main.cpp