reverted some ncols statements to size since not sure. Added some tests