Made a faster ElemWiseProdSum function
Added functionality to read and write the parameters to file
Included several parameters as command line arguments