This was done some time ago but is still of interest: http://www.scotland.gov.uk/Uploads/Documents/No36.pdf Ed.