Generated matrix interfaces for Int and Bool variables