Removed math.commons dependency