EXHIBIT 10.40 INVENTA CORPORATION SERIES C CONVERTIBLE PREFERRED STOCK PURCHASE AGREEMENT