Added links and corrected the CGM stuff. Probably should add a bit more stuff about how to form p(k+1) for eeach iteration