s.in/out.crop is corrected.

rowSums/colSums misused