Added 'calcMediaBits.m'