acos Function is not Directly Supported by FPGA. Use atan Instead.

acos(x) = atan(sqrt(1.0 - x ^ 2) / x)