fixed error in matrix size defs