Added sign test, see http://en.wikipedia.org/wiki/Sign_test