corrected sts.c

Should be a -1 in cosine argument, not +1 (c.f. Alexiades 1996).