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