結果 : numpy apply function to each element in 2d array