Solution of the problem of spiral-feel of the square matrix