Added first cut of code to move the nucleus when unstable.