Started adding check_convergence

todo: move movie code over