update matlab code for inconsistent distributions