Fixed a bug in the loop parameter calculation by adding a small pseudo-length to degenerate hairpins