Conjugate Gradient Method Python Code Examples