Fixed bug in pdb file parsing. Wasn't checking properly for atom serials in ascending order (was checking across chains and needs to be within chains only)