Subnetworks

Tests are now passing for the branch, based on the results of Greta's work in 

https://github.com/Hudon/spike/issues/53