Updated the sign functions to use Johan Rade's fp-utilities code. Added tests for the sign functions. Added docs for the sign functions and moved some sections around.