Modeling scatter from silicon wafer features based on discrete sources method