quant-1 add mordern math.