initial revision: matlab code to parse jams files