Modeling multilayer power distribution network by systematically incorporating via and cavity models