removing mrlegacy dependencies from math-scala.