add a variable "matrix size"