Python implementation of the DeSTIN deep learning perception system using the Theano library