Added ds.log and ds.exp functions