Correct formulae for ACOS