implement atan
check and debug atan