function [ X ] = iterGetX( A, X )
%% iterator function to get the final X

[size_A size_A] = size(A);
for i = 1 : 500
    Temp = (A * X) /(X' * A * X);
    for j = 1 : size_A
        X(j) = X(j) * Temp(j);
    end  
end
end

