add dgexpv and dgphiv calculations