Changing some floats to integers caused problems in the sales algorithm, fixed that.