SPARK-4022 [CORE] [MLLIB] [WIP] Replace colt dependency (LGPL) with commons-math

This change replaces usages of colt with commons-math3 equivalents, and makes some minor necessary adjustments to related code and tests to match.
Oops, didn't mean to change that. I don't know why that happened and I'll undo it.