updated gui function, with added laplacian of gaussian function input