Move demean script to more appropriate location.