matrix notation row or columns first