Flip the parameters to aluCart2LUTpos, so it behaves a bit more like atan2