[PLAT-6658] Added pricining method with general smile model

Corrected cosine weight function