Fixed bug where down-casting a dataset left old, invalid stored values
Modified dat loader for no header case to match python loader