Numerical simulation of advanced CMOS and beyond CMOS devices