Added few scalar functions

I have renamed sign to signum because in scala.math this function has signum name
We cannot delete def sign without deprecation. Please re-add def sign, add an annotation `@deprecated("use signum instead", "2.1")` and just make it just call signum.