SVfit algorithm for tau pair mass reconstruction (stand-alone version)