Ab initio calculations on molecules of astrochemical interest