added SVFit to the code