Agent Based Modeling of 3D Network on Chip