Efficient atomistic simulations of lateral heterostructure devices with metal contacts. (December 2022)