Added math.limit function.