Some tests and a class for computing CORDIC translation that emulates Xilinx IP