Update

Fixed a few errors and added implementation examples.