Added multiple 'sign' implementations for integers, unit tests and performancetests.