[WIP] Implement RPMD

Note: This is work in progress, do not merge.

Implement RPMD in staging and/or normal mode coordinates.