R2S unstructured mesh

This PR contains the same commits as #376, so let's deal with that first.

The main addition here is support for unstructured mesh, which is working and tested.