cleaning up MOFile: replaces unique_ptr to shared_ptr<Matrix> and shared_ptr<CSymMatrix> (the latter is new).

All the interface functions stay the same.