makeModemData calculating correct number of periods now (rounding errors before)

Signed-off-by: LK <LK@uni>