Compute first and second thetas and best uncorrupted name for a simple noise model