A calculator in C++ that does matrix operations - a lesson in OOP