Added get_byte function to fix my stupid mistake. Damn discrete math.