[PLAT-3157] Adding support for curve sensitivity types in summing function