implement atan
fix emit.ml