[PLAT-5439] Adding functions that calculate gross and net basis from curves