Add dim as an option when writing kpoints for pbe and hse bs calculations.
Add dim as an option when writing kpoints for pbe and hse bs calculations.

joshgabriel/MPInterfaces,henniggroup/MPInterfaces,joshgabriel/MPInterfaces,henniggroup/MPInterfaces