[WIP] Fixed a bug in explicitly solvated systems where coordinates were improperly wrapped

This is the start of some bugfixes for explicit solvent systems.