Removed unused imports.
Modified built.sbt so that deprecation warnings are now shown.
Fixed deprecated use of Math object.