added a couple of functions to sphaleron to try to redo the pde part