Added few scalar functions

I have renamed sign to signum because in scala.math this function has signum name
We should call this method `%` instead of `mod` so that it is identical to the Scala name.