added darkenlayer to plot.poscar.addlayers