Fixed dates

Sorry about the last pull request - my data was numbered starting by 0 rather than 1, so all the dates were offset by one. This PR should be correct.