Finished refactoring logistic stuff. Now turning to ConvNet stuff.
Got basic convolutional models working.