1-D simulator for semiconductor processes