added failing NaN test
fixed log_falling_factorial so gradient returns NaN for NaN input