Fix bug where the phase wheel got out of sync

The phase wheel messures phases within another unit and not mtg phases. It is important to map between those. I added this mapping to keep the code simple and correct hopefully this time. (Please test the wheel before merging as it is getting late (about 2 am))