Defined the internal matrix interfaces