Here are some coding snippets which I have found while surfing through the internet, some are
improved versions of otherwise available source code (for example the pattern matching), some
are coded after descriptions with no source code available (time constant splines).