Modified most network functions to use new API
Merge branch 'network_branch' of https://github.com/ctn-waterloo/nengo_sprint into network_branch