modify cox to support continuos pdf computation
bugs fixed; km supports continous pdf computation