Revert ewald changes for now. Will fix when more complete debug is available.