Added entry for K

Now reports K df for additional tests
Improved handling of rownames

Can now identify rownames when object is a factor