Added byte rate calculation functons, closes #296
closes #314