Updated header parsing, and replaced the endian with little instead of big, because the files are def little endian