Fixed gamma-function regressions. Tidied up function calls in t_distribution_inv.hpp. Tidied up casts in erf.hpp