demonstrating the use of matrixdim(x,x) return value