Segmentation and Quality Assessment  of Protein Secondary Structure