Added pseudoknot support for rates/flooding.
Fixed an invalid read bug.