Derivatives of the first-passage time density and cumulative distribution function, and random sampling from the (truncated) first-passage time distribution
