mgas beta profile shape integral validated with mathematica