semiconductor die cost calculation