Matrix defines