extended xnet.cpp, not yet finished
Merge branch 'master' of github.com:ahartel/nestocortical