Updated Notes and added examples