add rowMeans and colMeans