Changed input.h to modules.h, as this header file will link to all modules not just the input one.
Removed nPhot from Body structure and is now used as a separate global variable (it didn't make sense to keep it as a property of the body).
Created and linked in photonLoop.c where the main simulation will occur.