Update parse.m

Fixed bug in excited state parsing