extended neuralnets to support arbitrary  acyclic graphs
Merge pull request #2240 from khalednasr/develop

extended neuralnets to support arbitrary acyclic graphs