Image charge models for accurate construction of the electrostatic self-energy of 3D layered nanostructure devices. (5th March 2018)