Dependency tweaks

- bumped scala version
- removed dup apache commons-math.