First commit of working theano logistic regression, using gradient descent