Structure in gravity model

Gave the hole gravity model part more structure:
Stated that the first one was just a test.
Wrote a function with the simple gravity model.
Put data in a external file to make things clearer.