Added signum convenience function

mSign returns +1 if the argument is positive or 0, and -1 if the argument is negative. I find it useful and was surprised it wasn't already in the engine.