separate namespace for "private" functions of Matrix