Matrix ->dim method
Merge pull request #53 from ambs/pr/dim

Add dim() method