Changed algo for host vuln %
Updated tests