Former Stamford co. merging with McGraw-Hill