transpose() {
                var result = new this.constructor[Symbol.species](this.columns, this.rows);
                for (var i = 0; i < this.rows; i++) {
                    for (var j = 0; j < this.columns; j++) {
                        result.set(j, i, this.get(i, j));
                    }
                }
                return result;
            }
Transposes the matrix and returns a new one containing the result
@return {Matrix}