Thanks Nihil and thehorse13,

I think I got it sorted now, with appropriate references.

Now coming up to the long bit of having to get my results documented.