Added Principal Components Analysis and modified MINRES clas to accomodate new interface.