Tutorial showing geometry optimization