dd printDevicePotential function, for diagnostics.
checkpoint
Add more .h files to Makefile dependencies