Make some more changes necessary for SGD.

- It wants self.x as a matrix, not a vector.
- It needs an inputs override that tells the functions that use it
that the inputs are what gets put into the first convolution layer,
not what goes into the input layer of the standard feedforward
network.