COde for the BoxCox project