Improves AAMs notebooks

This PR makes sure AAMs notebooks don't crash, and adds patch-based AAMs and SDAAM examples.