Math Library for Scala