Added Matlab Interface