Small fixes.

diffusionIntegration.*: Fixed taking dx instead of nx.
main.cpp: Added commandline interface.