Fix rank function. Closes #34.
Merge pull request #39 from nbeloglazov/master

Fix rank function.
Merge branch 'master' of https://github.com/tel/clatrix