Modified to ignore .Rhistory file generated by rStudio
Minor changes to restore it to working until the replicated closure issue is worked out for the transformations on X