COMMON STOCK PURCHASE AGREEMENT Dated as of May 7, 1999 by and among DATAMETRICS CORP.