Calculates the dominant eigenvector of a matrix.
The matrix
Optional
The number of iterations the algorithm runs
Calculates the dominant eigenvector of a matrix.