Small DAC changes, added cordic.c