Updated input, math and units.

math:
  - added random template function.
input:
  - added mouse syncronisation.
units:
  - added unit planets.
Removed again this damn file.