General improvements.

Fixed several small bugs in example functions, removed unnecessary
parts. Now the code is more compact and clean.
General improvements.

Fixed several small bugs in example functions, removed unncessary parts.
Now the code is more compact and clean.
General improvements.

Fixed several small bugs in example functions, removed unnecessary
parts. Now the code is more compact and clean.