added matlab parser script as well as a python implementation