Adds the sign function
Bug-fix: RepeatFillRenderer offset calculation wrong in the negative.