Added functionality for multicolumn data for REDD