Doc and lib updated
-Added -fPIC and optimisation flag to the lib
-Some corrections on the doc