sin function using cordic method in rust