Computing 50k x 50k similarity matrices is slow
Speedups, including not computing cost over entire training set and fixing what was apparently an egregious misuse of Theano