When trying to get the arc cosine of values very close to 1 such as 0.9999999999999266 the results are not accurate based on further checking calculations. This could be an issue with the algorithm used - perhaps more iterations are required.