Chapter 3: Added math to camera inner workings and reorganized some things