Moves check member functions out of class Matrix. They don't have to be member functions.
Renames helper functions to camel case.
Renames operator + () like function to operator+() like style, to match
most Google code style.