fix rgamma of negative integers returning indeterminate