Added analysis of Theano algorithms - thanks Charlie