Added segment generation for proteins in make_psf