Added a parameter xguards

xguards toggles the collection of the ghost cells in x.
It is set to true by default to be consistent with the definition of nx.