added latex documentation