Adjusting PND to run on Matlab 2012a