Restore Rmath subproject.

Partial revert of cfca6fe.