Convenience functions (+update of the check package to github)

Few Convenience functions for Matrix manipulation + their tests.
I have not changed the API (yet?).

I also updated the check package, that has migrated to github.
These should not all be part of the same test. There should be different tests for each function (unless it's some global test which this is not).