Further generalization of Landau-Zener calculation