turn std::oldmap into a wrapper around LinearMap

The reasoning for doing it this way is that it's much easier to transition method-by-method to the `Map` API than trying to do the migration all at once.