adding phasedb.mat