new tests added to conjugate gradient method and Powell's method