BMD function

Calculating benchmark dose (BMD) and lower limit of benchmark dose (BMDL)