bug fixed in preprocessing, added plotting of results, results