Finalize calculator