Modeling of nanoscale devices with carriers obeying a three-dimensional density of states