Multi-function, universal, fixed-point CORDIC