Working on conjugate gradient method. Got an issue with calculating conjugate direction when function is not in quadratic form. The interesting thing is that this conjugate