Here is another resource I came across when learning about the conjugate gradient method for a class on finite elements. I wish I had found this back then!
https://www.cs.cmu.edu/~quake-papers/painless-conjugate-grad...
https://www.cs.cmu.edu/~quake-papers/painless-conjugate-grad...