Ensure that the passed-in optimizer is a sequence.
Merge branch 'master' of https://github.com/lmjohns3/theano-nets