refactor log regression to make consistent with future NN
completed neural network in theano