This converts the `MutableMatrix` back to the type of `self`.

There are still many other points in the `BaseMatrix` class that would fail if applied to an `ImmutableMatrix`, I guess.

Anyway, what about merging this PR now?