Ab initio calculations of small hydrides including electron correlation