matrix notation and definition