plot features

press f to flip, l for log scale
some changes and fixes in simulation to increase plot definition