added chgcar.calcdensity to chgcar based calculations