Reworked spacing algorithm for magnets

Included checks for too close proximity to other magnets. Ensures that
magnets are equally spread through the entire level. Changed LEVELWIDTH
to be 4000 - SCREENWIDTH / 2. This was to allow the victory screen to
have full range to produce fade effect of magnet.