Added fix to check if iterations exists or not. Also, nice log plots now, yay\!