block mean of numpy 2d array,"np.mean(a, axis=1)"