Fixed rounding bug (numbers weren't rounded up to next whole number)