added "matrix" option to "variables"