add support for getting unbiaised solution.

Solution is unbiaised by default, biaised on demand.
The plotted values are always biaised, except for the last one.
add license file & headers.

Shame on me for dumping stuff to GitHub without a proper license.