See Issue 264 for background -- this applies the fix suggested by @tommypec to both DataRate::CalculateBitsTxTime and DataRate::CalculateBytesTxTime
DataRate::CalculateBitsTxTime
DataRate::CalculateBytesTxTime
Fixes the test case in the issue and doesn't seem to break anything else.