added matlab code in support of alleviate
updated matlab files