adding converge file, TODO: extent convergeAlgorithm function to accept a converge type, that moniters convergence,w,etc