change plotkm and add support for nonparametic tests in covsum