@Override
    public void run() {

        System.out.println("The tread number " + numderTread + " started.");

        while (!stopTread) {
            int rows = MatrixDouble.getRowsForThreadWithInkrement();
            //System.out.println("The tread number " + numderTread + ". Rows = " + rowsA + ".");
            if (rows >= rowTotal) {
                stopTread();
            } else {
                try {
                    multiply(rows);
                } catch (MatrixIndexOutOfBoundsException e) {
                    System.out.println("Error: " + e);
                }
            }
        }
        System.out.println("The stream number " + numderTread + " stopped.");
        sumTread = 0;
    }