changed where output files are saved to be the folder where the inputs were loaded from and added a macro to print binary data for reference when comparing output