include stdexcept
use cmake to test
Merge branch 'master' into dev/nn

Conflicts:
	test/Makefile
add test of neuronnetwork