Density, cumulative density, quantiles and random number generation for the generalized Pareto distribution