I am not a mathematician, but I think that this Google doc explains it:
https://docs.google.com/document/preview?hgd=1&id=10MH1KJAoKnY3HgwWIlYAaccDcg4vj7HlszAsToWfQlM