More updated, including critical bug.

This adds several improvements and fixes to the experiments (mnist,
norb). There was a critical bug in the Theano code for
OrientedPartsLayer which has been fixed.