AMENDED AND RESTATED ASSET PURCHASE AGREEMENT among NOVA MEASURING INSTRUMENTS LTD. (“Buyer”) and HYPERNEX, INC. (the “Corporation”) and THE PERSONS LISTED ON SCHEDULE 4(a) (the “Stockholders”) dated August 8, 2006