WIP: Refactor celestial scale determination

Using a different approach that is guaranteed to be safe and free of WCS sillyness (I hope). Still need to fix the scales for the non-celestial case.