State-funded endowments help Maryland colleges build science