Rearrange the FDEM to be closer to the TDEM implementation.