Ubigraph Library added to visualize the factor graph. ubigraph_thread.py is only implemented but tested