Updated lib readme
Added some documentation made with latex