Adding a boatload of comments to the CG kernel

since it's important to fully understand it