Fixed some issues in nth root derivatives at 0. The current behavior is correct with respect to infinities and NaN being appropriately generated, but in some cases counter-intuitive.