Added compilation of examples and of the C++ version; output soft clipping in cigars; fixed cigar generation in C++ version; fixed memory leaks; fixed compilation warnings.

There are significant changes to the Makefile in this pull request.
I hope, you'll find them useful.
There are also a change in cigar output, a change in fix of internal cigar representaion and memory leak fixes.
The most of other changes are just whitespace changes (trailing whitespaces removed) and are purely cosmetic.

Please, merge the pull request.
Thank you in advance!