Bugfix: Calculation of initial solution uses correctly shifted zeros.
Function display's size is now independent of the number of samples used.
removed some commented out lines.