        }
    }


    public void setColumn(int col, float val) {
        for(int j=0; j < nrows; j++) {
            this.setValue(j, col, val);
        }
    }

    /**
     * Sets every value less than a cutoff value to zero.
     * @param cutOff
     */