removed obsolete error calculation function, removed some obsolete comments,...
removed obsolete error calculation function, removed some obsolete comments, added automatic binning, added a few warnings
removed obsolete error calculation function, removed some obsolete comments, added automatic binning, added a few warnings