Remove apache.common.math3 dependency