Made sure an error is returned when the gradient step is too small
Small modifications to the design of the main window
Added a random figure in the Panel that should display the image