Modified Dirac Hamiltonian for efficient quantum mechanical simulations of micron sized devices