conjugate gradient, generate symmetric positive definite matrix, generaterandom tri diagonal matrix added