Saving the Universe solutions

Saving the Universe was solved using Octave by 2 contestants. Solution sizes: average 1149 bytes (shortest: 1145; longest: 1154).