Fixed another really silly bug in the main conversion routine and fixed the length constant for the amount of data to read at a time