Computes the arc cosine function.