wrote and tested conjugate gradient by steepest descent method