public class PowerMethod {
    double[][] a;
    double tol;
    double[][] initial;
    double eigenValue;
    double eigenVector[][];

    public int PowerMethod(double[][] a, double tol, double[][] initial) {
        this.a = a;
        this.tol = tol;
        this.initial = initial;
    }

    public int findErrorTol() {

    }

    public int powerMethod(double[][] a, double[][] initial) {
        
    } 
}

Create PowerMethod.java