ENH: add Cosine2 kernel, same cosine kernel as Stata closes #1245