fix to invert the arguments in the atan2 block + YAIL test

Change-Id: Ibdaf0da4b7fd31821479fd579dc2aa0a74197bc9