zVtx fit function for embedded MC sample added