CE: finished quadrature routines. Added Chase's beta and gamma dist