Conjugate gradient method implementation added