Improved data manipulation and graph layout

Modified some of the parameters by making it more generalized one.
Mostly changes are related to data file manipulation and hence plotting
the data.