Update simulation.js

created restoreSettings function that will apply whatever sphere initial positions were stored in the realtime document.  Called restoreSettings when there are initial positions saved in realtime, otherwise called resetAll. Saved sphere initial positons as JSON file in the realtime document whenever simulate is run.