Fixed a few bugs with reading distances. The issue was NOT in the BinaryReader. It was a mistake in specifying indices