Removed aveMb2 for a more straightforward scaleAb function.