This is an attempt at transferring my old backprop code.

There's something really screwey about the way things are iterating,
especially involving connections. Although this isn't quite right, I
should be able to use this as a basis and fix some poor logic later.