Various detector and MNIST updates.

- The updates in the detector are still experimental and messy.
- Updated MNIST code to run with the latest amitgroup.