Different from other trigonometric functions like arctan, arctan2 can legitimately get two Quantities as arguments. These are passed to numpy.arctan2, which cannot recognise them. So, we should have a unit-aware arctan2 in amuse.units.trigo. PR #1179 fixes this.