Gelation and Transitions in Biopolymers