[PLAT-6614] Supported different number of fixing

Also added examples to unit tests for toDerivative and pricing methods.