CORDIC algorithm on Cypress PSoC chip