Smith waterman gotoh segfault fix.

See if you're happy and merge to master.

Turns out the conf allocation was freed before use, honest mistake.

Also added some more whitespace to cost.c just to make it look like I did something..