Added more functions

Added function to calculate the shorts angle between two.
Added function to return the sign of a value.