working on cordic_sd