Create convergence.c

Convergence Function