qr.householder(w,A);
// SimpleMatrix U = new SimpleMatrix(width,1, true, qr.getQR()[w]).extractMatrix(w,width,0,1);
Matrix temp = Matrix.create(width,1);
temp.setElements(qr.getQR()[w]);
AStridedMatrix U = temp.subMatrix(w, width-w, 0, 1);
U.set(0,0,1); // this is not explicity set and is assumed to be 1
Matrix I = Matrix.createIdentity(width-w);
// SimpleMatrix Q = I.minus(U.mult(U.transpose()).scale(qr.getGamma()));
Matrix temp1 = Multiplications.multiply(U, U.getTranspose());