mask mode - init masked matrix with ones