Added few scalar functions

I have renamed sign to signum because in scala.math this function has signum name
There is already `%`, so this needs to be removed.