Update MathUtils.java

Added randomSign() function, that returns -1 or 1.
Maybe, but it is very disturbing that you submitted a PR without actually compiling it. At any rate, I implemented `randomSign` without a conditional.