Add MaximalAngleOfCorner and AngleOfCornerBound for bamg()