public static double gammaMean(double mu, double beta, double gamma) {
		if (beta <= 0.0D) throw new IllegalArgumentException("The scale parameter, " + beta + "must be greater than zero");
		if (gamma <= 0.0D) throw new IllegalArgumentException("The shape parameter, " + gamma + "must be greater than zero");
		return gamma * beta - mu;
	}