added distribution approximation & made it easier to integrate into Adambots.com