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.
Equals returns true if b and the receiver have the same size and contain all equal elements.