Add usage for roots function.
Correct documentation error in diag function.