There is a paper linked which is describing the whole thing!