Generate step function changes, add a new button to PA=LU function and some variable global/local changes