Added support for infinite degrees of freedom.
Correct some error messages (and made quantile produce the correct complemented version by forwarding the function string to the detail:: code).
There are still some confusing variable names.