worked on Z models for kfoldcv, fixed the Inf bug in kfoldcv and we need to update it in master branch