Created a new function that shifts trial dates according to an odd algorithm. Needs test-bed code as well as better documentation.