updated some of the binary reading of data for sff files