Kriging-based Inversion for Deterministic and Noisy Computer