Updated documentation
Simplified randomSign method