Early matrix definitions and implementations