txt files must be read as doubles
added stdint include for convenience