fix a bug in Show DenseMatrix instance

When I tried apply  `show` on a column oriented DenseMatrix, the program got into an infinite loop. Turns out `show` was checking for `stride == xdim` and `mapDenseMatrix id` kept setting it to `ydim`. I hope this is the correct way to fix that.