fix methods for chi distribution