A generic matrix for AI use