fix: match reader to the number of bytes in elements

closes #16

@moloney you might want to check this before merging. i hacked it based on what i thought is correct, but i don't know the dicom standard and this may have unwanted effects.