Wrote a first version of the preface and fixed a compilation error