major restructuring introducing LibMatrix class ao
change remaining \n for std::endl
rename intercomm methods to lowercase