added convergence class, and specific routines for thesis' tests