Factor calculation changed

Factor calculation changed