Revert "Revert "conversion from ESRF to APS coordinate system""

This reverts commit 6a3a020b6eeea8546721b1e913c5fb4a29e43799.