seperate classes added for 2 conjugate gradient methods:Polak Ribbiere, Fletcher Reeves