fixed algorithm for SVA

Needed an additional regression step that was missing to create the null
distribution