Updated the core/math.