Code used for the Boxcox project