Finally, some luck with the Matrix classes... C++ lessons learned.