adding method dims() to core.Mat
fixed strings in n1_dims(): n1_dcols() -> n1_dims()
removed GPU_/CPU_ prefix from gpu's sanity test
Merge pull request #1138 from janstarzy:mat-dist
Merge pull request #1147 from jet47:gpu-sanity-test-name