fixed minor bugs in data generation in simsky and plotting in plot_data