Fixed variable names, e3d configuration file, plotting bugs