Fixed read_parameters, added variables in main.

Fixed a problem with the read_parameters function (syntax). Changed the
main.c file to include new variables and call the function correctly.
Changed header file init.h because of new arguments.