Added optimization pragmas.
Updated examples.