Added compatability

Added getSign() funtion. Currently outputs + for everything but mult expression. It may need changing