Issue 15

The G matrix is now constructed according to the Fried geometry. 

Also the latex problem is solved (/end{document})

If this merge is ok, #15 can be closed.