Optimize pairwise for Sinus and scalar inputs
#538
+12
−0
pairwise for Sinus and scalar inputs
#538