Made slight revision on pdas reading .mat file.