function A = do_work_for_approx(m,B)

rsB = sum(abs(B),2)';
csB = sum(abs(B));

rB = percent(rsB,m);
cB = percent(csB,m);

A = [rB, cB];




